package sigeco.util.dao;

import java.io.Serializable;
import java.util.List;

/**
 * General interface for a DAO object.
 * 
 * @author julien
 */
public interface Dao {

	public void save(Object object);
	public void save(Object...objects);
	
	public void delete(Object object);
	public void delete(Object...objects);
	
	public List list(Class clazz);
	public List list(Class clazz, int start, int amount);
	
	public Object get(Class clazz, Serializable id);
	
}
